import {createPinia} from "pinia";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const store = createPinia()
// 将插件提供给store实例
store.use(piniaPluginPersistedstate)

import {useUserStore} from './modules/user'
export {store,useUserStore}


